package com.example.swim.Dao;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.swim.Pojo.VIP;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;

/**
 * @author LiYa
 * @create 2022-07-17 19:48
 */
@Repository
@Mapper
public interface VipDao extends BaseMapper<VIP> {
    List<VIP> findAll();
    void  insertVIP(VIP vip);
    void  delVIP(Integer id);
    void updateVIP(VIP Vip);
    VIP findVIP(VIP vip);
    void addAid(Integer aid,Integer id);

}
